package com.mrjy.activity.dao;

import java.util.List;

import com.mrjy.activity.dto.ActivityDTO;
import com.mrjy.activity.dto.ActivityInfoDTO;
import com.mrjy.activity.dto.ActivityLiveDTO;
import com.mrjy.activity.dto.ActivityOutputDTO;
import com.mrjy.activity.dto.ActivitySelectDTO;
import com.mrjy.common.entity.ActivityInfo;

public interface IActivityInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityInfo activityInfo);

    int insertSelective(ActivityInfo record);

    ActivityInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityInfo record);

    int updateByPrimaryKey(ActivityInfo record);
    
    ActivityInfo selectById(Integer id);

	List<ActivityOutputDTO> queryPageBack(ActivitySelectDTO activitySelectDTO);
	
	List<ActivityDTO> queryPage(Integer userId);

	ActivityInfoDTO queryById(Integer activityId);

	List<ActivityLiveDTO> queryPageByActivityType(String activityType);

	int queryTotalSignup(ActivitySelectDTO selectDTO);

	int deleteByIds(int[] ids);

	int updateDisableFlag(ActivityInfo info);
	
	List<ActivityOutputDTO> queryList(ActivityInfo info);

	ActivityInfo queryByActivityId(int activityId);
}